﻿// -----------------------------------------------------------------------
// <copyright file="PartWorkOrder_BLL.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace PMSGSC.BLL
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using PMSGSC.DAL;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public class PartWorkOrder_BLL
    {
        public static List<PartWorkOrder> GetAll()
        {
            return PartWorkOrder_DAL.GetAll();
        }
        public static PartWorkOrder GetDataById(PartWorkOrder jp)
        {
            return PartWorkOrder_DAL.GetDataById(jp);
        }
        public static bool Insert(PartWorkOrder PartWorkOrder)
        {
            return PartWorkOrder_DAL.Insert(PartWorkOrder);
        }
        public static bool Update(PartWorkOrder PartWorkOrder)
        {
            return PartWorkOrder_DAL.Update(PartWorkOrder);
        }
        public static bool Delete(PartWorkOrder PartWorkOrder)
        {
            return PartWorkOrder_DAL.Delete(PartWorkOrder);
        }
        public static List<PartWorkOrder> GetDataByWorkOrderID(int id, bool ischanged)
        {
            return PartWorkOrder_DAL.GetDataByWorkOrderID(id, ischanged);
        }
        public static bool isExits(PartWorkOrder jp)
        {
            return PartWorkOrder_DAL.isExits(jp);
        }
        public static bool DeleteByID(PartWorkOrder jp)
        {
            return PartWorkOrder_DAL.DeleteByID(jp);
        }
    }
}
